package com.dream.myqiyi.dao;

import java.util.Date;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "Notebook")
public class NotebookModel {
	@DatabaseField(id = true)
	public String guid;
	@DatabaseField
	public int sequence;
	@DatabaseField
	public String name;
	@DatabaseField
	public boolean defaultNotebook;
	@DatabaseField
	public long serviceCreated;
	@DatabaseField
	public long serviceUpdated;
 	@DatabaseField
	public boolean isDirty;
	@DatabaseField
	public String stack;	
	
	public NotebookModel() {
		
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("guid=").append(guid);
		//sb.append(", ").append("type=").append(type);
		return sb.toString();
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String newGuid) {
		guid = newGuid;
		//everNotebook.setGuid(newGuid);
	}
	public int getSequence() {
		return sequence;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
		//everNotebook.setUpdateSequenceNum(sequence);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isDefaultNotebook() {
		return defaultNotebook;
	}

	public void setDefaultNotebook(boolean defaultNotebook) {
		this.defaultNotebook = defaultNotebook;
	}

	public long getServiceCreated() {
		return serviceCreated;
	}

	public void setServiceCreated(long serviceCreated) {
		this.serviceCreated = serviceCreated;
	}

	public long getServiceUpdated() {
		return serviceUpdated;
	}

	public void setServiceUpdated(long serviceUpdated) {
		this.serviceUpdated = serviceUpdated;
	}

	public boolean isDirty() {
		return isDirty;
	}

	public void setDirty(boolean isDirty) {
		this.isDirty = isDirty;
	}

	public String getStack() {
		return stack;
	}

	public void setStack(String stack) {
		this.stack = stack;
		//everNotebook.setStack(stack);
	}
	
	

//	public Notebook getEverNotebook() {
//		return everNotebook;
//	}
//
//	public void setEverNotebook(Notebook everNotebook) {
//		this.everNotebook = everNotebook;
//	}

}
